﻿using System.Collections.Generic;

namespace masterview.Code.models
{
    public class CmsDocsServiceSimpleModel : SimpleModel
    {
        public CmsDocsServiceSimpleModel()
        {
            ServiceParameters = new Dictionary<string, string>();
        }

        public CmsDocsServiceSimpleModel(long id, string name, Dictionary<string, string> serviceParameters)
            :base(id, name)
        {
            ServiceParameters = serviceParameters;
        }

        public Dictionary<string, string> ServiceParameters { get; set; }

        public static class CmsDocsServiceSetting
        {
            public const string MaxDownloadSize = "MaxDownloadSize";
            public const string MaxUploadSize = "MaxUploadSize";
            public const string CmsConnectionString = "CMSConnectionString";
            public const string DocsDirectory = "DocsDirectory";
            public const string ServerNames = "ServerNames";
            public const string IsServerDistributed = "IsServerDistributed";
        }
    }
}